package leetcode.code0647;

import leetcode.IDebug;
import leetcode.helper.HelpDebug;

public abstract class Solution647 implements IDebug {

	public abstract int countSubstrings(String s);

	@Override
	public void debug1() {
		String s = "abc";
		int e = 3;
		int r = this.countSubstrings(s);
		HelpDebug.compare(e, r);
	}

	@Override
	public void debug2() {
		String s = "aaaa";
		int e = 10;
		int r = this.countSubstrings(s);
		HelpDebug.compare(e, r);
	}

	@Override
	public void debug3() {
		String s = "aaaaaaaaaaaa";
		int e = 78;
		int r = this.countSubstrings(s);
		HelpDebug.compare(e, r);
	}

	@Override
	public void debug4() {
		String s = "abcaacbabcaacba";
		int e = 30;
		int r = this.countSubstrings(s);
		HelpDebug.compare(e, r);
	}

	public void debug5() {
		String s = "xkjkqlajprjwefilxgpdpebieswu";
		int e = 30;
		int r = this.countSubstrings(s);
		HelpDebug.compare(e, r);
	}

}
